package com.javasm.sys;

import java.util.List;

/**
 * @Author: WangZhuang
 * @ClassName: RoleService
 * @Description:
 * @Date: 2022/9/16 17:29
 * Version: 0.1
 * Since: JDK11
 */
public interface RoleService {

    List<SysRole> getAllRoles();

    List<SysRole> getRoles(SysRole role);

    Integer updateRoleById(SysRole role);

    Integer insertRoleAndAuth(SysRole role);

    List<Integer> getMenuId(String roleId);

    Integer delRoleByIds(List<String> ids);

    List<String> getMenuPermits(String roleId);

}
